package com.fortune.enums;

public enum DistributorMgtEnum {
    SUCCESS(true,"成功"),
    ACCOUNT_EXIST(false,"账户已存在"),
    PHONE_EXIST(false,"手机号已存在"),
    NUMBER_ACCOUNT_EXIST(false,"编号已存在"),
    ABBREVIATION_ACCOUNT_EXIST(false,"简称已存在"),
    NAME_ACCOUNT_EXIST(false,"经销商名称已存在"),
    ACCOUNT_NO_EXIST(false,"账户不存在"),
    ACCOUNT_DISABLE(false,"账户已禁用,不能再禁用"),
    ACCOUNT_ENABLE(false,"账户已启用,不能再启用"),
    FAILURE(false,"操作失败,请重新操作");
    private boolean status;
    private String msg;
    DistributorMgtEnum(boolean status,String msg){
        this.status = status;
        this.msg = msg;
    }
    public boolean isStatus() {
        return status;
    }
    public void setStatus(boolean status) {
        this.status = status;
    }
    public String getMsg() {
        return msg;
    }
    public void setMsg(String msg) {
        this.msg = msg;
    }
}
